package com.rykj.util;


/**
 * Description:常量类 author: zhangsan on 16/11/21 下午6:22.
 */

public final class C {

    public static final class PrefName {
        /** 保存登录用户编号 */
        public static final String PREF_LOGIN_NUM = "user_num";
        /** 保存是否登陆过 */
        public static final String PREF_IS_LOGIN = "is_login";
        /** 保存用户信息 */
        public static final String PREF_LOGIN_USER_INFO = "pref_login_user_info";
        /** 是否第一次进app */
        public static final String PREF_IS_FIRSTIN_APP = "is_first_in";
        /** 用户隐私协议提醒 */
        public static final String PREF_IS_AGREE_PRIVACY = "PREF_IS_AGREE_PRIVACY";
        /** 用户登录的token */
        public static final String APP_LOGIN_TOKEN = "app_login_token";
    }

    public static final class IntentKey {

        public static final String TITLE = "TITLE";

        public static final String URL = "url";

    }

    public static final class EventKey {
        /** 微信支付成功 */
        public static final String WEXIN_PAY_SUCCESS = "WEXIN_PAY_SUCCESS";
        /** 刷新用户信息 */
        public static final String REFRESH_USER_INFO = "REFRESH_USER_INFO";
        /** 刷新城市列表 */
        public static final String REFRESH_CITY = "REFRESH_CITY";
        /** 刷新字典表数据 */
        public static final String REFRESH_PARENT_CODE = "REFRESH_PARENT_CODE";
        /** 登录状态变化通知 */
        public static final String LOGIN_STATUS_CHANGE = "LOGIN_STATUS_CHANGE";
    }

    public static final class LoginStatus {
        /**
         * 登录
         */
        public static final String LOGIN_STATUS_LOGIN = "LOGIN_STATUS_LOGIN";
        /**
         * 退出登录
         */
        public static final String LOGIN_STATUS_LOGOUT = "LOGIN_STATUS_LOGOUT";

    }

}
